package com.ruoyi.eamp.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import javax.xml.crypto.Data;
import java.util.Date;

/**
 * 仪器使用记录对象 eamp_equipment_use
 * 
 * @author ruoyi
 * @date 2024-08-08
 */
public class EampEquipmentUse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备编号 */
    private Long logId;

    /** 仪器ID */
    @Excel(name = "仪器ID")
    private Long equipmentId;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private Date createDate;

    /** 使用状态(0出库 1入库) */
    @Excel(name = "使用状态(0出库 1入库)")
    private Long usestatus;


    private  String createBy;

    private  String equipmentName;

    public String getEquipmentName() {
        return equipmentName;
    }

    public void setEquipmentName(String equipmentName) {
        this.equipmentName = equipmentName;
    }

    @Override
    public String getCreateBy() {
        return createBy;
    }

    @Override
    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public EampEquipmentUse() {
    }

    public EampEquipmentUse(Long equipmentId, Date createDate, Long usestatus, String createBy, Long delFlg) {
        this.equipmentId = equipmentId;
        this.createDate = createDate;
        this.usestatus = usestatus;
        this.createBy = createBy;
        this.delFlg = delFlg;
    }

    /** 删除(0删除 1正常) */
    @Excel(name = "删除(0删除 1正常)")
    private Long delFlg;

    public void setLogId(Long logId) 
    {
        this.logId = logId;
    }

    public Long getLogId() 
    {
        return logId;
    }
    public void setEquipmentId(Long equipmentId) 
    {
        this.equipmentId = equipmentId;
    }

    public Long getEquipmentId() 
    {
        return equipmentId;
    }
//    public void setCreateDate(String createDate)
//    {
//        this.createDate = createDate;
//    }
//
//    public String getCreateDate()
//    {
//        return createDate;
//    }
    public void setUsestatus(Long usestatus) 
    {
        this.usestatus = usestatus;
    }

    public Long getUsestatus() 
    {
        return usestatus;
    }
    public void setDelFlg(Long delFlg) 
    {
        this.delFlg = delFlg;
    }

    public Long getDelFlg() 
    {
        return delFlg;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("logId", getLogId())
            .append("equipmentId", getEquipmentId())
            .append("createBy", getCreateBy())
            .append("createDate", getCreateDate())
            .append("usestatus", getUsestatus())
            .append("delFlg", getDelFlg())
            .toString();
    }
}
